home *** CD-ROM | disk | FTP | other *** search
/ Resource for Source: C/C++ / Resource for Source - C-C++.iso / misc_src / knowhow4 / deditl.h < prev    next >
C/C++ Source or Header  |  1995-11-01  |  676b  |  30 lines

  1. /*  EDITL.H    One-line-editor. After exiting keeps its string in
  2.     global[global_num], where global_num is the number of this line
  3.     in container.
  4. */
  5.  
  6. #ifndef __DIACOM_EDIT_LINE_H_
  7. #define __DIACOM_EDIT_LINE_H_
  8.  
  9. #include "ceditl.h"
  10.  
  11. class DiacomEditLine : public CaptureEditLine
  12.     {
  13.     public:
  14.     DiacomEditLine(loc pos, int l, char* text = "",
  15.         CAPTURE_POS  type = C_RIGHT,
  16.         int max_len = 0,
  17.         BORDERS b_type = BUTTON_BORDER, int pat = 0, int insert = 1)
  18.         : CaptureEditLine(pos, l, text, type,
  19.                   max_len, b_type, pat, 0, insert)
  20.             {}
  21.  
  22.     virtual void exe(int act = 0);
  23.     };
  24.  
  25.  
  26.  
  27. #endif __DIACOM_EDIT_LINE_H_
  28.  
  29.  
  30.